package com.warm.demo.domain;

import com.warm.select.api.orm.domain.BaseEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.List;
import java.util.Date;

/**
 * 子对象
 *
 * @author warm
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table(value = "test_sub")
public class TestSub extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 律师id
     */
    @Id
    private Long id;

    /**
     * 事务所id
     */
    private Long legalId;

    /**
     * 律师名称
     */
    private String lawyerName;

    /**
     * 联系电话
     */
    private Long phone;

    /**
     * 简介
     */
    private String briefIntroduction;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @Column(isLogicDelete = true)
    private String delFlag;





}
